package com.interview.member.dao;

import java.util.List;

import com.interview.member.entity.UmsMemberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员-会员表
 * 
 * @author bin.z
 * @email bin.z@gmail.com
 * @date 2021-03-23 16:16:15
 */
@Mapper
public interface UmsMemberDao extends BaseMapper<UmsMemberEntity> {
	UmsMemberEntity getByLoginInfo(@Param("loginUser") UmsMemberEntity loginUser);

	List<UmsMemberEntity> getByUserName(@Param("registryUser") UmsMemberEntity registryUser);

    void updateIntegral(@Param("id") Long id, @Param("integral") Long integral);
}
